using SerializeReferenceEditor;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(menuName ="Data/card")]

public class CardData : ScriptableObject
{
    [field: SerializeField] public string Name { get;private set;}
    [field: SerializeField] public string Description { get; private set; }
    [field: SerializeField] public int Mana { get; private set; }
    [field: SerializeField] public Sprite Image { get; private set; }
    //可以在界面编辑
    [field: SerializeReference, SR] public Effect ManualTargetEffect { get; private set; } = null;
    [field: SerializeReference, SR] public List<AutoTargetEffect> OtherTargetEffect { get; private set; } = null;
}
